package cn.didi.feidi.androidorder.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

/**
 * Created by jinxiong on 2017/8/23.
 */

@Entity
public class UserAddress implements Serializable {


    static final long serialVersionUID = 42L;


    /**
     * userAddressId : 1502415704795HuzLbR
     * userId : 18740284923150062154
     * address : 532号
     * longitude : 23.1612
     * latitude : 113.352
     * name : 王李琛
     * sex : 男
     * phoneNumber : 13947029951
     * city : 广州
     * district : 天河区
     * road : bilibili
     * defaultAddress : false
     * deletedAddress : false
     */
    @Id
    private String userAddressId;
    private String userId;
    private String address;
    private double longitude;
    private double latitude;
    private String name;
    private String sex;
    private String phoneNumber;
    private String city;
    private String district;
    private String road;
    private boolean defaultAddress;
    private boolean deletedAddress;

    @Generated(hash = 1471749850)
    public UserAddress(String userAddressId, String userId, String address,
                       double longitude, double latitude, String name, String sex,
                       String phoneNumber, String city, String district, String road,
                       boolean defaultAddress, boolean deletedAddress) {
        this.userAddressId = userAddressId;
        this.userId = userId;
        this.address = address;
        this.longitude = longitude;
        this.latitude = latitude;
        this.name = name;
        this.sex = sex;
        this.phoneNumber = phoneNumber;
        this.city = city;
        this.district = district;
        this.road = road;
        this.defaultAddress = defaultAddress;
        this.deletedAddress = deletedAddress;
    }
    @Generated(hash = 1066331545)
    public UserAddress() {
    }
    public String getUserAddressId() {
        return this.userAddressId;
    }
    public void setUserAddressId(String userAddressId) {
        this.userAddressId = userAddressId;
    }
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public double getLongitude() {
        return this.longitude;
    }
    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }
    public double getLatitude() {
        return this.latitude;
    }
    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getSex() {
        return this.sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getPhoneNumber() {
        return this.phoneNumber;
    }
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
    public String getCity() {
        return this.city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getDistrict() {
        return this.district;
    }
    public void setDistrict(String district) {
        this.district = district;
    }
    public String getRoad() {
        return this.road;
    }
    public void setRoad(String road) {
        this.road = road;
    }

    public boolean getDefaultAddress() {
        return this.defaultAddress;
    }

    public void setDefaultAddress(boolean defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public boolean getDeletedAddress() {
        return this.deletedAddress;
    }

    public void setDeletedAddress(boolean deletedAddress) {
        this.deletedAddress = deletedAddress;
    }


}
